package com.boc.langxiang.contract.shop;

import android.view.MenuItem;

import com.boc.langxiang.contract.BaseView;
import com.boc.langxiang.entity.response.SpecialLikeContent;
import com.boc.langxiang.entity.response.SpecialTopicDetailContent;
import com.boc.langxiang.entity.response.SpecialTopicShareContent;
import com.boc.langxiang.presenter.BasePresenter;

/**
 * Created by Li Guoxi on 2016/7/13.
 */
public interface SpecialDetailContract {
    interface Presenter extends BasePresenter {
        void getDetail(String id);

        void like(String id, MenuItem item);

        void getShareData(String id);
    }

    interface View extends BaseView {
        void onGetDetailSuccess(SpecialTopicDetailContent content);

        void onLikeSuccess(SpecialLikeContent content,MenuItem menuItem);

        void onGetShareDataSuccess(SpecialTopicShareContent content);
    }
}
